package com.liuweiheng.cloud.service.impl;

import com.liuweiheng.cloud.dao.UserMapper;
import com.liuweiheng.cloud.entity.User;
import com.liuweiheng.cloud.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author lwh
 * @since 2021/5/28
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public int create(User user) {
        return userMapper.create(user);
    }
}
